package com.gxa.employment.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.gxa.employment.entity.dto.ReallocatePermDto;
import com.gxa.employment.entity.pojo.Role;
import com.gxa.employment.entity.vo.ListsVo;
import com.gxa.employment.exception.BizException;

import java.util.List;

/**
 * <p>
 * 系统角色表 服务类
 * </p>
 *
 * @author author
 * @since 2025-03-25
 */
public interface RoleService extends IService<Role> {

    void reallocatePerm(ReallocatePermDto dto) throws BizException;

    ListsVo getAllList();

    List<Integer> getByRole(Integer roleId, String type);

}
